﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    AwardWorkSharing
    ///开发者      :    
    ///建立时间    :    2012-08-22 13:49:29
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-08-22 13:49:29
    /// </summary>
        [OrmPropertyAttribute(TableName = "AwardWorkSharing",PrimaryKey = "Ws_ID",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class AwardWorkSharing
    {
        #region 构造函数
        public AwardWorkSharing(){}
        
       
        #endregion
        
        #region 成员
        private int _ws_ID;
        private string _ws_year;
        private string _ws_Name;
        private int _aw_ID;
        private decimal _ws_WorkCount;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int Ws_ID
        {
            get { return _ws_ID; }
            set {_ws_ID = value; }
        }

        [OrmPropertyAttribute(ParameterType = "int", ParameterLength = 4, IsNull = "0")]
        public virtual int Aw_ID
        {
            get { return _aw_ID; }
            set { _aw_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 4,IsNull = "1")]
        public virtual string Ws_year
        {
            get { return _ws_year; }
            set {_ws_year = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string Ws_Name
        {
            get { return _ws_Name; }
            set { _ws_Name = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "decimal",ParameterLength = 10,IsNull = "1")]
        public virtual decimal Ws_WorkCount
        {
            get { return _ws_WorkCount; }
            set { _ws_WorkCount = value; }
        }
        #endregion
    }
}